package ssn.main.vo;

import java.io.Serializable;
import java.util.List;

import ssn.common.util.Util;
import ssn.common.vo.SearchVO;
import ssn.servicearea.vo.ServiceAreaManagerVO;
import ssn.user.vo.UserCareerVO;
import ssn.user.vo.UserCertVO;

/**
 * @author tkofs
 *
 */
public class MainVO extends SearchVO implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String area_key;			// 휴개소 키
	private String area_name;			// 현장명
	private String area_addr;			// 소제지
	private String code_key;			// 권역키
	private String area_capa = "0";			// 시설용량
	private String builder;				// 시공사
	private String build_date;			// 준공일자
	private String serv_sdate;			// 용역기간 시작
	private String serv_edate;			// 용역기간 종료
	private String area_tel;			// 전화번호
	private String area_fax;			// 팩스번호

	private String code_name;			// 권역 이름

	private String admin_id;			// 담당자 아이디
	private String admin_name;			// 담당자 이름
	private String admin_tel;			// 담당자 전화번호
	private String admin_hp;			// 담당자 HP
	private String admin_email;			// 담당자 email
	private String admin_pic;			// 담당자 사진
	
	/**
	 * 휴게소 관리자
	 */
	private List<ServiceAreaManagerVO> serviceAreaManagerVOList;
	/**
	 * 경력 사항
	 */
	private List<UserCareerVO> userCareerVOList;
	/**
	 * 자격증
	 */
	private List<UserCertVO> userCertVOList;
	public String getArea_key() {
		return area_key;
	}
	public void setArea_key(String area_key) {
		this.area_key = area_key;
	}
	public String getArea_name() {
		return area_name;
	}
	public void setArea_name(String area_name) {
		this.area_name = area_name;
	}
	public String getArea_addr() {
		return area_addr;
	}
	public void setArea_addr(String area_addr) {
		this.area_addr = area_addr;
	}
	public String getCode_key() {
		return code_key;
	}
	public void setCode_key(String code_key) {
		this.code_key = code_key;
	}
	public String getArea_capa() {
		return area_capa;
	}
	public void setArea_capa(String area_capa) {
		this.area_capa = area_capa;
	}
	public String getBuilder() {
		return builder;
	}
	public void setBuilder(String builder) {
		this.builder = builder;
	}
	public String getBuild_date() {
		return build_date;
	}
	public void setBuild_date(String build_date) {
		this.build_date = build_date;
	}
	public String getServ_sdate() {
		return serv_sdate;
	}
	public void setServ_sdate(String serv_sdate) {
		this.serv_sdate = serv_sdate;
	}
	public String getServ_edate() {
		return serv_edate;
	}
	public void setServ_edate(String serv_edate) {
		this.serv_edate = serv_edate;
	}
	public String getArea_tel() {
		return area_tel;
	}
	public void setArea_tel(String area_tel) {
		this.area_tel = area_tel;
	}
	public String getArea_fax() {
		return area_fax;
	}
	public void setArea_fax(String area_fax) {
		this.area_fax = area_fax;
	}
	
	public String getCode_name() {
		return code_name;
	}
	public void setCode_name(String code_name) {
		this.code_name = code_name;
	}
	public String getAdmin_id() {
		return admin_id;
	}
	public void setAdmin_id(String admin_id) {
		this.admin_id = admin_id;
	}
	public String getAdmin_name() {
		return admin_name;
	}
	public void setAdmin_name(String admin_name) {
		this.admin_name = admin_name;
	}
	public String getAdmin_tel() {
		return admin_tel;
	}
	public void setAdmin_tel(String admin_tel) {
		this.admin_tel = admin_tel;
	}
	public String getAdmin_hp() {
		String[] atelArray = Util.getTelArray(admin_hp);
		return atelArray[0]+"-"+atelArray[1]+"-"+atelArray[2];
	}
	public void setAdmin_hp(String admin_hp) {
		this.admin_hp = admin_hp;
	}
	public String getAdmin_email() {
		return admin_email;
	}
	public void setAdmin_email(String admin_email) {
		this.admin_email = admin_email;
	}
	public List<ServiceAreaManagerVO> getServiceAreaManagerVOList() {
		return serviceAreaManagerVOList;
	}
	public void setServiceAreaManagerVOList(List<ServiceAreaManagerVO> serviceAreaManagerVOList) {
		this.serviceAreaManagerVOList = serviceAreaManagerVOList;
	}
	public List<UserCareerVO> getUserCareerVOList() {
		return userCareerVOList;
	}
	public void setUserCareerVOList(List<UserCareerVO> userCareerVOList) {
		this.userCareerVOList = userCareerVOList;
	}
	public List<UserCertVO> getUserCertVOList() {
		return userCertVOList;
	}
	public void setUserCertVOList(List<UserCertVO> userCertVOList) {
		this.userCertVOList = userCertVOList;
	}
	public String getAdmin_pic() {
		return admin_pic;
	}
	public void setAdmin_pic(String admin_pic) {
		this.admin_pic = admin_pic;
	}
	
	
}
